/**
  ******************************************************************************
  * @author     Chris
  * @since      2024/7/12 22:33
  *
  * @file       hd_storage.c
  * @brief      Xxx hardware driver.
  *
  * @note       This file contains the hardware driver for the Xxx.
  *
  * @warning    None.
  ******************************************************************************
  * Change Logs:
  *   Date          Author       Notes
  *   2024/7/12     Chris        the first version
  *
  ******************************************************************************
  */


#include "hd_storage.h"
#include <assert.h>

static void Storage_read_(Storage* this, uint8_t* buffer, uint32_t address, uint32_t count) {
    assert(0);
}

void Storage_constructor(Storage* this) {
    static struct StorageVtbl vtbl = {
        .read = &Storage_read_
    };
    this->vptr = &vtbl;
}
